import random
with open("mac.txt" ,"w+" , encoding="utf-8") as f:
    for k in range(1,101):
        str1 = random.choice("0123456789ABCDEF")
        str2 = random.choice("0123456789ABCDEF")
        str3 = random.choice("0123456789ABCDEF")
        str4 = random.choice("0123456789ABCDEF")
        str5 = random.choice("0123456789ABCDEF")
        str6 = random.choice("0123456789ABCDEF")
        for a in str1:
            for b in str2:
               continue
        for d in str3:
            for e in str4:
                continue
        for h in str5:
            for i in str6:
                continue
        f.write(f"第{k}个MAC地址为:01-AF-3B-{a}{b}-{d}{e}-{h}{i}\n")
